package com.recruit.server.service;

import com.recruit.server.common.HeaderInfo;
import com.recruit.server.request.product.ListProductRequest;
import com.recruit.server.request.product.ProductDetailRequest;
import com.recruit.server.response.product.ListProductResponse;
import com.recruit.server.response.product.ProductDetailResponse;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;

public interface IProductService {

    ListProductResponse list(@Validated @RequestBody ListProductRequest request, HeaderInfo headerInfo);

    ProductDetailResponse detail(@Validated @RequestBody ProductDetailRequest request, HeaderInfo headerInfo);
}
